.header-contain {
    width: 100%;
    height: 50px;
    background-color: #1c2327;
    position: sticky;
    top: 0;
    z-index: 10000;
    color: #fff;
    @include flex-between;

    a {
        font-size: 14px;
        color: #fff;
        cursor: pointer;
        white-space: nowrap;
        &:hover {
            color: $theme-color;
            text-decoration: none;
        }
    }
    .myShop, .el-dropdown {
        font-size: 14px!important;
        white-space: nowrap;
    }

    .header-contain-left {
        width: 15%;
        height: 100%;
        text-align: center;
        display: flex;
        margin-left: 150px;
        align-items: center;
        .logoLeft{
            width: 40%;
            cursor: pointer;
            height: 100%;
            background: url('../../assets/logo.png') center no-repeat;
        }
        .des{
            font-size: 14px;
            white-space: nowrap;
            margin-left: 2px;
            letter-spacing: 1px;
            color: $theme-color;
            text-shadow: 0 0 10px $theme-color;
        }
    }

    .header-contain-right {
        width: 35%;
        height: 100%;
        @include flex-between;

        .el-dropdown,
        div {
            color: #fff;
            cursor: pointer;

            &:hover {
                color: $theme-color;
            }
        }

        .el-dropdown {
            font-size: 1rem;

            &:hover {
                color: $theme-color;
            }
        }

        .user {
            height: 100%;
            line-height: 50px;
            padding-right: 0.625rem;
            padding-left: 0.625rem;
            background-color: #383e41;

            &:hover {
                background-color: $theme-color;
            }

            &>div {
                height: 100%;

                &:hover {
                    color: #fff;
                }

                .userImg {
                    display: inline-block;
                    margin-right: 5px;
                    font-size: 2.5rem;
                    vertical-align: bottom;
                }
            }
        }

        .myShop {
            @include flex-between;
        }
        .login{
            cursor: pointer;
            padding-right: 1.25rem;
            &:hover{
                color: $theme-color;
            }
        }
    }
}

.userModal {
    width: 200px;
    height: 120px;

    .userModal-top {
        @include flex-around;
        @include marginCenter(90%);
        height: 80%;

        .userModal-left {
            .userImg {
                display: inline-block;
                font-size: 3.4375rem;
                color: $theme-color;
                vertical-align: middle;
            }
        }

        .userModal-right {
            font-size: 14px;
            padding-right: 7px;

            p:nth-child(1) {
                a {
                    color: #000;

                    &:visited {
                        color: #000;
                    }

                    &:active {
                        color: $theme-color;
                    }
                }
                .logout{
                    cursor: pointer;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }

            p:nth-child(2) {
                margin-top: 0.3125rem;
                font-size: 0.75rem;
                color: $des-color;
            }
        }

    }

    .userModal-bottom {
        color: #fff;
        text-align: center;
        font-size: 0.875rem;
        cursor: pointer;
        padding: 2px 0;
        @include marginCenter(90%);
        background-color: $theme-color;
    }
}

@media screen and (max-width: 1366px){
    .header-contain{
        .header-contain-left {
            width: 18%;
        }
        .header-contain-right{
            width: 48%;
        }
    }
}